<?php
/**
 * @author yuanyitian
 * @date 2023/7/7 3:06
 */

namespace api\admin;

class index
{
    public function total(){
//        $con=con();
//        $user=mysqli_query($con,"select * from user where status!=0");
//        $user=mysqli_num_rows($user);
//        $meeting=mysqli_query($con,"select * from meeting where status!=0");
//        $meeting=mysqli_num_rows($meeting);
//        $exhibition=mysqli_query($con,"select * from exhibition where status!=0");
//        $exhibition=mysqli_num_rows($exhibition);
//        $teacher=mysqli_query($con,"select * from teacher where status!=0");
//        $teacher=mysqli_num_rows($teacher);
//        mysqli_close($con);
        $res=[];
        $res["user"]=0;
        $res["meeting"]=0;
        $res["exhibition"]=0;
        $res["teacher"]=0;
        return out_right($res);

    }
}